import socketio from "socket.io-client";

let io = socketio("http://localhost:3000", {
    //transports和服务端统一，否则会跨域
    transports: ["websocket"],
});

export default io;